function runtest() {
   notifier = new Notifier;
   setTimeout(function() { 
	notifier.interrupt(); 
},1000);
	spawn(other());
   alert('done' + notifier.wait());
}
function other() {
 var retValue = notifier.wait();
 alert('other ' + retValue);
 return retValue;
}